import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../components/Home.vue'
import HomeScene from '../components/HomeScene.vue'

const routes = [
  { path: '/', redirect: '/map' },
  { path: '/map', component: Home },
  { path: '/scene', component: HomeScene }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
